Fix minor typos
authorYuri Chornoivan <yurchor@ukr.net>
Thu, 28 May 2020 08:00:03 +0000 (11:00 +0300)
committerYuri Chornoivan <yurchor@ukr.net>
Thu, 28 May 2020 08:00:03 +0000 (11:00 +0300)
81 files changed:
demos/gtk-demo/gtkgears.c
demos/gtk-demo/listbox.ui
demos/gtk-demo/main.c
demos/gtk-demo/paintable_mediastream.c
demos/widget-factory/widget-factory.c
docs/reference/README.md
docs/text_widget_internals.txt
gdk/gdkdevice.c
gdk/gdkdisplay.c
gdk/gdkdisplaymanager.c
gdk/gdkpaintable.c
gdk/gdksurface.c
gdk/gdktoplevel.c
gdk/gdkvulkancontext.c
gdk/quartz/gdkeventloop-quartz.c
gdk/wayland/cursor/os-compatibility.c
gdk/wayland/gdkdisplay-wayland.c
gdk/wayland/gdksurface-wayland.c
gdk/wayland/gdkvulkancontext-wayland.c
gdk/win32/gdkclipdrop-win32.c
gdk/win32/gdkdrag-win32.c
gdk/win32/gdksurface-win32.c
gdk/win32/gdkvulkancontext-win32.c
gdk/x11/gdkclipboard-x11.c
gdk/x11/gdkdevice-xi2.c
gdk/x11/gdkdisplay-x11.c
gdk/x11/gdkkeys-x11.c
gdk/x11/gdkscreen-x11.h
gdk/x11/gdksurface-x11.c
gdk/x11/gdkvulkancontext-x11.c
gsk/gskrendernodeimpl.c
gtk/compose-parse.py
gtk/gtkaccessible.c
gtk/gtkbuilder.c
gtk/gtkcellarea.h
gtk/gtkcellrenderer.c
gtk/gtkcellrendererspinner.c
gtk/gtkcellrenderertext.c
gtk/gtkcheckbutton.c
gtk/gtkcssimage.c
gtk/gtkcssnodestylecache.c
gtk/gtkcssstyleproperty.c
gtk/gtkeditable.c
gtk/gtkenums.h
gtk/gtkfilechooser.c
gtk/gtkfilesystemmodel.c
gtk/gtkfontchooser.c
gtk/gtkfontchooserwidget.c
gtk/gtkicontheme.c
gtk/gtkimcontext.c
gtk/gtkimcontextsimpleseqs.h
gtk/gtklistbox.c
gtk/gtkmain.c
gtk/gtkmaplistmodel.c
gtk/gtknativedialog.c
gtk/gtkplacessidebar.c
gtk/gtkprintunixdialog.c
gtk/gtkquartz.c
gtk/gtkscrolledwindow.c
gtk/gtkslicelistmodel.c
gtk/gtkstack.c
gtk/gtkstyleproperty.c
gtk/gtktext.c
gtk/gtktextview.c
gtk/gtktrashmonitor.c
gtk/gtktreeview.c
gtk/gtktreeview.h
gtk/gtktreeviewcolumn.c
gtk/gtktypes.h
gtk/gtkwidget.c
gtk/gtkwindow.c
gtk/paper_names.c
modules/printbackends/gtkprintbackendcups.c
tests/gtkgears.c
tests/testgtk.c
tests/testwidgetfocus.c
testsuite/gtk/defaultvalue.c
testsuite/gtk/grid-layout.c
testsuite/gtk/main.c
testsuite/gtk/objects-finalize.c
testsuite/gtk/templates.c

index 32a24dafb47b70cec64294b0ed4aabb0149b49cd..7cd24a38992c62b87a8e2552dcef6fc623d287cf 100644 (file)
@@ -197,7 +197,7 @@ gtk_gears_class_init (GtkGearsClass *klass)
  * @param v the vertex to fill
  * @param x the x coordinate
  * @param y the y coordinate
- * @param z the z coortinate
+ * @param z the z coordinate
  * @param n pointer to the normal table
  *
  * @return the operation error code
index a5ebac17d6b52519f8ad72f81b65e440b578d326..6b6360936209ae1d940d7ccbf52ac1fbea3ba82c 100644 (file)
                   </object>
                 </child>
                 <child>
-                  <object class="GtkButton" id="favorite-buttton">
+                  <object class="GtkButton" id="favorite-button">
                     <property name="label" translatable="yes">Favorite</property>
                     <property name="receives-default">1</property>
                     <property name="has-frame">0</property>
index 653e7a2f4a4c288eb9fc239a27a07d8fa4411106..9d802b8c1fadfceec01f3961e6ba1f31b7cee1e1 100644 (file)
@@ -61,7 +61,7 @@ activate_about (GSimpleAction *action,
                           gtk_get_major_version (),
                           gtk_get_minor_version (),
                           gtk_get_micro_version ());
-  g_string_append_printf (s, "\nA link can apppear here: <http://www.gtk.org>");
+  g_string_append_printf (s, "\nA link can appear here: <http://www.gtk.org>");
 
   version = g_strdup_printf ("%s\nRunning against GTK %d.%d.%d",
                              PACKAGE_VERSION,
index 20ae54bb6c5095f6317e87cda2fe3735c004409b..f9c4c42ffee33d109efac2ccadae47468924fd74 100644 (file)
@@ -218,7 +218,7 @@ gtk_nuclear_media_stream_seek (GtkMediaStream *stream,
   gtk_media_stream_seek_success (stream);
 
   /* We also have to update our timestamp and tell the
-   * paintable interface abbout the seek
+   * paintable interface about the seek
    */
   gtk_media_stream_update (stream, nuclear->progress);
   gdk_paintable_invalidate_contents (GDK_PAINTABLE (nuclear));
@@ -263,7 +263,7 @@ gtk_nuclear_media_stream_init (GtkNuclearMediaStream *nuclear)
   /* This time, we don't have to add a timer here, because media
    * streams start paused.
    *
-   * However, media streams need to tell GTK once they are intialized,
+   * However, media streams need to tell GTK once they are initialized,
    * so we do that here.
    */
   gtk_media_stream_prepared (GTK_MEDIA_STREAM (nuclear),
index 21ce18c572b76e78a0fa7d84fb96273bd941bbfe..bcfe73ceab628abcad88a5246dbdb83c795c5138 100644 (file)
@@ -271,7 +271,7 @@ activate_about (GSimpleAction *action,
                           gtk_get_major_version (),
                           gtk_get_minor_version (),
                           gtk_get_micro_version ());
-  g_string_append_printf (s, "\nA link can apppear here: <http://www.gtk.org>");
+  g_string_append_printf (s, "\nA link can appear here: <http://www.gtk.org>");
 
   version = g_strdup_printf ("%s\nRunning against GTK %d.%d.%d",
                              PACKAGE_VERSION,
index bd67413fa2ed029f537fe1fa4cbe14af3366012d..94ea3896972d634bcf7e50dd1060441e19424db0 100644 (file)
@@ -198,7 +198,7 @@ Checks whether the widget is set to be visible or not.
 
 ### Actions
 
- - Actions are new in GTK 4, and gtk-doc had to learn a new syntax
+ - Actions are new in GTK 4, and gtk-doc had to learn a new syntax
    to document them:
 
 ```
index 73bc43c1cedc116afa4c0b5037bf2d3341802afa..4edce9edd7d4697063fbc65c0a9fa78d4673ee15 100644 (file)
@@ -120,7 +120,7 @@ The segment class also contains two data fields:
    has right gravity, because as you type new text is inserted, 
    and the cursor ends up on the right.
 
-The segment itself contains contains a header, plus some
+The segment itself contains a header, plus some
 variable-length data that depends on the type of the segment. 
 The header contains the length of the segment in characters and in
 bytes. Some segments have a length of zero. Segments with nonzero
index 8918ee50a3dda95f717748e1c5e02672086e7da5..11823ec919315297f400c229cec9bc460d7a8bf2 100644 (file)
@@ -641,7 +641,7 @@ gdk_device_get_surface_at_position (GdkDevice *device,
 /**
  * gdk_device_get_history: (skip)
  * @device: a #GdkDevice
- * @surface: the surface with respect to which which the event coordinates will be reported
+ * @surface: the surface with respect to which the event coordinates will be reported
  * @start: starting timestamp for range of events to return
  * @stop: ending timestamp for the range of events to return
  * @events: (array length=n_events) (out) (transfer full) (optional):
index 2babfacf65353a5e824365eea7d9c7ad10a6587e..4ba000719de6f51c52194b1966c6d8e056228622 100644 (file)
@@ -175,7 +175,7 @@ gdk_display_class_init (GdkDisplayClass *class)
   /**
    * GdkDisplay:composited:
    *
-   * %TRUE if the display properly composits the alpha channel.
+   * %TRUE if the display properly composites the alpha channel.
    * See gdk_display_is_composited() for details.
    */
   props[PROP_COMPOSITED] =
index 8a359b77c68ffe60fc393956ba8f27dcd5cd8f9c..94ced0387e5c0ffc5a0ebc995ff7271724c37376 100644 (file)
@@ -219,7 +219,7 @@ static const gchar *allowed_backends;
  *
  * Sets a list of backends that GDK should try to use.
  *
- * This can be be useful if your application does not
+ * This can be useful if your application does not
  * work with certain GDK backends.
  *
  * By default, GDK tries all included backends.
index cedda107e3c5dfbeea2a9f603321e2d2fa9b99ab..fc91762784a5bf4bb94465d7247339211600a8e2 100644 (file)
@@ -465,7 +465,7 @@ gdk_paintable_compute_concrete_size (GdkPaintable *paintable,
   image_aspect = gdk_paintable_get_intrinsic_aspect_ratio (paintable);
 
   /* If the specified size has neither a definite width nor height,
-   * and has no additional contraints, the dimensions of the concrete
+   * and has no additional constraints, the dimensions of the concrete
    * object size are calculated as follows:
    */
   if (specified_width == 0.0 && specified_height == 0.0)
index a154319cde5723a94119b90f4c16a2294708cc09..f0ef1eeb8e4fef4bc295de9c428c04a67947f805 100644 (file)
@@ -600,7 +600,7 @@ gdk_surface_class_init (GdkSurfaceClass *klass)
                               gdk_surface_event_marshallerv);
 
   /**
-   * GdkSurface::enter-montor:
+   * GdkSurface::enter-monitor:
    * @surface: the #GdkSurface
    * @monitor: the monitor
    *
@@ -619,7 +619,7 @@ gdk_surface_class_init (GdkSurfaceClass *klass)
                   GDK_TYPE_MONITOR);
 
   /**
-   * GdkSurface::leave-montor:
+   * GdkSurface::leave-monitor:
    * @surface: the #GdkSurface
    * @monitor: the monitor
    *
@@ -2570,7 +2570,7 @@ gdk_surface_get_frame_clock (GdkSurface *surface)
  * gdk_surface_get_scale_factor:
  * @surface: surface to get scale factor for
  *
- * Returns the internal scale factor that maps from surface coordiantes
+ * Returns the internal scale factor that maps from surface coordinates
  * to the actual device pixels. On traditional systems this is 1, but
  * on very high density outputs this can be a higher value (often 2).
  *
index 49b9b8a6caccf815c47926c5d64fc99df5cc181a..a69f13fa62fcdcd200b17855272de6e14ec26861 100644 (file)
@@ -475,7 +475,7 @@ gdk_toplevel_supports_edge_constraints (GdkToplevel *toplevel)
  *
  * If granted, the rerouting remains active until the default shortcuts
  * processing is restored with gdk_toplevel_restore_system_shortcuts(),
- * or the request is revoked by the desktop enviroment, windowing system
+ * or the request is revoked by the desktop environment, windowing system
  * or the user.
  *
  * A typical use case for this API is remote desktop or virtual machine
index be249fcc25e1ec77beb3ba21f2b75f229074f983..34a9f1dae0ad1869680426941f4121371ddbbd38 100644 (file)
@@ -101,7 +101,7 @@ gdk_vulkan_strerror (VkResult result)
    * encountered a newly added Vulkan error message.
    * You want to add it to this enum now.
    *
-   * Becuse the Vulkan people don't make adding this too easy, here's
+   * Because the Vulkan people don't make adding this too easy, here's
    * the process to manage it:
    * 1. go to
    *    https://github.com/KhronosGroup/Vulkan-Headers/blob/master/include/vulkan/vulkan_core.h
@@ -203,7 +203,7 @@ gdk_vulkan_strerror (VkResult result)
 #endif
 #if VK_HEADER_VERSION >= 105
     case VK_ERROR_FULL_SCREEN_EXCLUSIVE_MODE_LOST_EXT:
-      return "An operation on a swapchain created with VK_FULL_SCREEN_EXCLUSIVE_APPLICATION_CONTROLLED_EXT failed as it did not have exlusive full-screen access.";
+      return "An operation on a swapchain created with VK_FULL_SCREEN_EXCLUSIVE_APPLICATION_CONTROLLED_EXT failed as it did not have exclusive full-screen access.";
 #endif
 #if VK_HEADER_VERSION >= 131
     case VK_ERROR_UNKNOWN:
index a9875ed44fee4fbe8f7898546f6bca3b831d1c8a..6927188a3b4d3ccb38932541ce3ea684db131282 100644 (file)
@@ -59,7 +59,7 @@ static int current_loop_level = 0;
 static int acquired_loop_level = -1;
 
 /* Between run_loop_before_waiting() and run_loop_after_waiting();
- * whether we we need to call select_thread_collect_poll()
+ * whether we need to call select_thread_collect_poll()
  */
 static gboolean run_loop_polling_async = FALSE;
 
@@ -95,7 +95,7 @@ static GPollFD event_poll_fd;
 
 /* Current NSEvents that we've gotten from Cocoa but haven't yet converted
  * to GdkEvents. We wait until our dispatch() function to do the conversion
- * since the conversion can conceivably cause signals to be emmitted
+ * since the conversion can conceivably cause signals to be emitted
  * or other things that shouldn’t happen inside a poll function.
  */
 static GQueue *current_events;
@@ -132,7 +132,7 @@ static gint getting_events = 0;
  ************************************************************/
 
 /* The states in our state machine, see comments in select_thread_func()
- * for descriptiions of each state
+ * for descriptions of each state
  */
 typedef enum {
   BEFORE_START,
@@ -235,7 +235,7 @@ select_thread_func (void *arg)
        case WAITING:
          /* Waiting for a set of file descriptors to be submitted by the main thread
           *
-          *  => POLLING_QUEUED: main thread thread submits a set of file descriptors
+          *  => POLLING_QUEUED: main thread submits a set of file descriptors
           */ 
          SELECT_THREAD_WAIT ();
          break;
index bd28dbb205da545f867daa8d6d7e0beacd4231bd..c59733964f6c8c8e299f7e6c0224ecedf2740217 100644 (file)
@@ -100,7 +100,7 @@ create_tmpfile_cloexec(char *tmpname)
  *
  * If the C library implements posix_fallocate(), it is used to
  * guarantee that disk space is available for the file at the
- * given size. If disk space is insufficent, errno is set to ENOSPC.
+ * given size. If disk space is insufficient, errno is set to ENOSPC.
  * If posix_fallocate() is not supported, program may receive
  * SIGBUS on accessing mmap()'ed file contents instead.
  *
index 1b65c46bded280228516edc18ed7afeff3a01663..cd8fe1e3cc56ac9088cf55a03d10972a0326d877 100644 (file)
@@ -644,7 +644,7 @@ _gdk_wayland_display_open (const gchar *display_name)
   _gdk_wayland_display_async_roundtrip (display_wayland);
 
   /* Wait for initializing to complete. This means waiting for all
-   * asynchrounous roundtrips that were triggered during initial roundtrip. */
+   * asynchronous roundtrips that were triggered during initial roundtrip. */
   while (display_wayland->async_roundtrips != NULL)
     {
       if (wl_display_dispatch (display_wayland->wl_display) < 0)
index 4e66f81c7b7f77b9a1fe3ff0d5254a62daabb7fe..60bfa9147d99c224a8ce3403758f0350f28c2e5c 100644 (file)
@@ -1308,7 +1308,7 @@ gdk_wayland_surface_configure_toplevel (GdkSurface *surface)
         geometry_mask &= ~GDK_HINT_RESIZE_INC;
       if (!saved_size)
         {
-          /* Do not reapply contrains if we are restoring original size */
+          /* Do not reapply constrains if we are restoring original size */
           gdk_surface_constrain_size (&impl->geometry_hints,
                                      geometry_mask,
                                      width + impl->margin_left + impl->margin_right,
index 59b85af12bfcff6e350eca7bb4f313f30757aa3f..fa2f89c8d8c65e8b0e179c44526ecbe31c4f056e 100644 (file)
@@ -42,7 +42,7 @@ gdk_wayland_vulkan_context_create_surface (GdkVulkanContext *context,
 
   /* This is necessary so that Vulkan sees the Surface.
    * Usually, vkCreateXlibSurfaceKHR() will not cause a problem to happen as
-   * it just creates resources, but futher calls with the resulting surface
+   * it just creates resources, but further calls with the resulting surface
    * do cause issues.
    */
   gdk_display_sync (display);
index d274f5a6b1e7779add32fbfc3803594558fcab6c..74eb2500a8e0ed414cd85429b5ec3a68b9461632 100644 (file)
@@ -105,7 +105,7 @@ On GDK-Win32:
 
 Any operations that require OpenClipboard()/CloseClipboard() combo (i.e.
 almost everything, except for WM_RENDERFORMAT handling) is offloaded into
-separate thread, which tries to to complete any operations in the queue.
+separate thread, which tries to complete any operations in the queue.
 Each operation routine usually starts with a timeout check (all operations
 time out after 30 seconds), then a check for clipboard status (to abort
 any operations that became obsolete due to clipboard status being changed - 
index b07f19d24ed258130de89b9d0ee5ac8935d85727..ed2fb51c9c1e86cd402bd35b9b42c19c7dcba13a 100644 (file)
@@ -84,7 +84,7 @@
  *   GDK will also offer "PNG" and CF_DIB W32 formats.
  * * If GTK+ application provides text/plain;charset=utf8, GDK will also offer
  *   CF_UNICODETEXT (UTF-16-encoded) and CF_TEXT (encoded with thread-
- *   and locale-depenant codepage), and will do the conversion when such
+ *   and locale-dependent codepage), and will do the conversion when such
  *   data is requested.
  * * If GTK+ application accepts image/png, image/gif or image/jpeg,
  *   GDK will claim to also accept "PNG", "GIF" or "JFIF" respectively,
index 2b76ef484c5182b9da0cc03964881a14a07efa75..d26b64ebd2b82a69cb50410781ea0e685c0135c0 100644 (file)
@@ -2321,7 +2321,7 @@ stash_window (GdkSurface          *window,
     return;
 
   /* MSDN is very vague, but in practice rcNormalPosition is the same as GetWindowRect(),
-   * only with adjustments for toolbars (which creates rather weird coodinate space issues).
+   * only with adjustments for toolbars (which creates rather weird coordinate space issues).
    * We need to get monitor info and apply workarea vs monitorarea diff to turn
    * these into screen coordinates proper.
    */
index 9588b5126bbcf0d734863d581a1ab485c360dfc5..607658dde9cceb00f988dd922553609597bb628c 100644 (file)
@@ -52,7 +52,7 @@ gdk_win32_vulkan_context_create_surface (GdkVulkanContext *context,
 
   /* This is necessary so that Vulkan sees the Window.
    * Usually, vkCreateWin32SurfaceKHR() will not cause a problem to happen as
-   * it just creates resources, but futher calls with the resulting surface
+   * it just creates resources, but further calls with the resulting surface
    * do cause issues.
    */
   gdk_display_sync (display);
index aae2d1216a07c40c68a5696c166620adc5f4910c..bbfdfc6b4ba7cc71af168bd3a9323010cf4f1520 100644 (file)
@@ -585,7 +585,7 @@ gdk_x11_clipboard_store_async (GdkClipboard        *clipboard,
   gsize n_atoms;
   int error;
 
-  /* clipboard managers don't work on anythig but the clipbpoard selection */
+  /* clipboard managers don't work on anything but the clipbpoard selection */
   if (!g_str_equal (cb->selection, "CLIPBOARD"))
     {
       GDK_DISPLAY_NOTE (display, CLIPBOARD, g_printerr ("%s: can only store on CLIPBOARD\n", cb->selection));
index 04cacfd9a2a873f47b7e49162653470018fbfe8f..912426b3f78e130cc2011ec1c85fbc563bba6235 100644 (file)
@@ -230,7 +230,7 @@ gdk_x11_device_xi2_get_state (GdkDevice       *device,
                 {
                   gint root_x, root_y;
 
-                  /* FIXME: Maybe root coords chaching should happen here */
+                  /* FIXME: Maybe root coords caching should happen here */
                   gdk_surface_get_origin (surface, &root_x, &root_y);
                   _gdk_device_translate_screen_coord (device, surface,
                                                       root_x, root_y,
index f172f945534f4f6d7d839ac503c9f847e9b10c85..700ffb2d2832ffda51418354b4d95ed0a6d2ea34 100644 (file)
@@ -1987,7 +1987,7 @@ gdk_x11_lookup_xdisplay (Display *xdisplay)
 /**
  * _gdk_x11_display_screen_for_xrootwin:
  * @display: a #GdkDisplay
- * @xrootwin: window ID for one of of the screen’s of the display.
+ * @xrootwin: window ID for one of the screen’s of the display.
  * 
  * Given the root window ID of one of the screen’s of a #GdkDisplay,
  * finds the screen.
index a322ff27c09e005b6595630b8942bed2df7bb0de..11ee46a4d21e5372ac48c7c0390de6c6614b3106 100644 (file)
@@ -324,7 +324,7 @@ update_keymaps (GdkX11Keymap *keymap_x11)
       /* GDK_KEY_ISO_Left_Tab, as usually configured through XKB, really messes
        * up the whole idea of "consumed modifiers" because shift is consumed.
        * However, <shift>Tab is not usually GDK_KEY_ISO_Left_Tab without XKB,
-       * we we fudge the map here.
+       * we fudge the map here.
        */
       keycode = keymap_x11->min_keycode;
       while (keycode <= keymap_x11->max_keycode)
index 348a3ef323043cbda2163f0b7bbbf5b6464a1e42..61a4ef19473535d5ff2764e7dc30797272c92c3d 100644 (file)
@@ -67,7 +67,7 @@ struct _GdkX11Screen
    * fetch of window manager name
    */
   guint need_refetch_wm_name : 1;
-  guint xft_init : 1; /* Whether we've intialized these values yet */
+  guint xft_init : 1; /* Whether we've initialized these values yet */
   guint xft_antialias : 1;
   guint xft_hinting : 1;
 
index 30eb411d62381b1fb8002a4918d0828312e32e70..41d9d4d91dc2a5f72929acd78156080ea723f273 100644 (file)
@@ -2257,7 +2257,7 @@ utf8_is_latin1 (const gchar *str)
 }
 
 /* Set the property to @utf8_str as STRING if the @utf8_str is fully
- * convertable to STRING, otherwise, set it as compound text
+ * convertible to STRING, otherwise, set it as compound text
  */
 static void
 set_text_property (GdkDisplay  *display,
@@ -3155,7 +3155,7 @@ gdk_x11_surface_apply_fullscreen_mode (GdkSurface *surface)
          /* FIXME: This is not part of the EWMH spec!
           *
           * There is no documented mechanism to remove the property
-          * _NET_WM_FULLSCREEN_MONITORS once set, so we use use a set of
+          * _NET_WM_FULLSCREEN_MONITORS once set, so we use a set of
           * invalid, largest possible value.
           *
           * When given values larger than actual possible monitor values, most
index c1a6a225d063344d3aebbe1e87769ece158a63da..002473e41f4ccd6bdebc042d634364180c6af31e 100644 (file)
@@ -41,7 +41,7 @@ gdk_x11_vulkan_context_create_surface (GdkVulkanContext *context,
 
   /* This is necessary so that Vulkan sees the Window.
    * Usually, vkCreateXlibSurfaceKHR() will not cause a problem to happen as
-   * it just creates resources, but futher calls with the resulting surface
+   * it just creates resources, but further calls with the resulting surface
    * do cause issues.
    */
   gdk_display_sync (display);
index 5fa0dbc46a9f54f5b8f6c7e1178acf24cc88b85d..c28ff939d46c8d52718b1ed705641b089a808785 100644 (file)
@@ -456,7 +456,7 @@ gsk_border_node_draw (GskRenderNode *node,
        * |                         |
        * |                         |
        * +-------------------------+
-       * That line is equidistant from all sides. It's either horiontal
+       * That line is equidistant from all sides. It's either horizontal
        * or vertical, depending on if the rect is wider or taller.
        * We use the 4 sides spanned up by connecting the line to the corner
        * points to color the regions of the rectangle differently.
@@ -908,7 +908,7 @@ draw_shadow_corner (cairo_t               *cr,
    *
    * The blur radius (which also defines the clip_radius)
    *
-   * The the horizontal and vertical corner radius
+   * The horizontal and vertical corner radius
    *
    * We apply the first position and orientation when drawing the
    * mask, so we cache rendered masks based on the blur radius and the
index 9a6513a70ae5deb1368f0828da294de98e996899..767f2b421ee68ae0426197e152eb0a64c57dac00 100755 (executable)
@@ -85,8 +85,8 @@ headerfile_start = """/* GTK - The GIMP Tool Kit
  * XFree86 4.0 using a set of Perl scripts. Contact Owen Taylor <otaylor@redhat.com>
  * to obtain the relevant perl scripts.
  *
- * The following compose letter letter sequences confliced
- *   Dstroke/dstroke and ETH/eth; resolved to Dstroke (Croation, Vietnamese, Lappish), over
+ * The following compose letter letter sequences conflicted
+ *   Dstroke/dstroke and ETH/eth; resolved to Dstroke (Croatian, Vietnamese, Lappish), over
  *                                ETH (Icelandic, Faroese, old English, IPA)  [ D- -D d- -d ]
  *   Amacron/amacron and ordfeminine; resolved to ordfeminine                 [ _A A_ a_ _a ]
  *   Amacron/amacron and Atilde/atilde; resolved to atilde                    [ -A A- a- -a ]
index e5693c05998cf367e8daf2ed855306693486ab24..454f12306b7a2898358366a5e8d0bae6d65ce368 100644 (file)
@@ -36,7 +36,7 @@
  * derive from #GtkAccessible and implement the suitable interfaces
  * from ATK, such as #AtkText or #AtkSelection. To establish
  * the connection between the widget class and its corresponding
- * acccessible implementation, override the get_accessible vfunc
+ * accessible implementation, override the get_accessible vfunc
  * in #GtkWidgetClass.
  */
 
index 803180c65f9044784905c37c0d49089659b12088..c728ba6116eb47d15f547d7baa6255628ca87b41 100644 (file)
@@ -86,7 +86,7 @@
  * been loaded yet, GTK+ tries to find the get_type() function from the
  * class name by applying heuristics. This works in most cases, but if
  * necessary, it is possible to specify the name of the get_type() function
- * explictly with the "type-func" attribute. As a special case, GtkBuilder
+ * explicitly with the "type-func" attribute. As a special case, GtkBuilder
  * allows to use an object that has been constructed by a #GtkUIManager in
  * another part of the UI definition by specifying the id of the #GtkUIManager
  * in the “constructor” attribute and the name of the object in the “id”
index ee199fb6cfa6fb3a97e20e01915fee1a5c078257..4a3d98e8dc64192b256fa51afa4dcdb32c33a320 100644 (file)
@@ -155,7 +155,7 @@ struct _GtkCellArea
  *     cell to cell inside the #GtkCellArea. The #GtkCellArea should move
  *     focus from cell to cell inside the area and return %FALSE if focus
  *     logically leaves the area with the following exceptions: When the
- *     area contains no activatable cells, the entire area recieves focus.
+ *     area contains no activatable cells, the entire area receives focus.
  *     Focus should not be given to cells that are actually “focus siblings”
  *     of other sibling cells (see gtk_cell_area_get_focus_from_sibling()).
  *     Focus is set by calling gtk_cell_area_set_focus_cell().
@@ -509,7 +509,7 @@ void                  gtk_cell_area_request_renderer               (GtkCellArea
  * object is passed to the user function in gtk_cell_layout_set_cell_data_func.
  *
  * This private api takes gpointer & GFunc arguments to circumvent circular header file
- * dependancies.
+ * dependencies.
  */
 void                 _gtk_cell_area_set_cell_data_func_with_proxy  (GtkCellArea           *area,
                                                                    GtkCellRenderer       *cell,
index 05fcb5f873a36287b5c4d0a0230686cb4cd37c0b..544880a45b87f8db1085d63bd26685df3563ae48 100644 (file)
@@ -1644,7 +1644,7 @@ gtk_cell_renderer_get_preferred_size (GtkCellRenderer *cell,
  * @flags: render flags
  * @cell_area: cell area which would be passed to gtk_cell_renderer_render()
  * @aligned_area: (out): the return location for the space inside @cell_area
- *                that would acually be used to render.
+ *                that would actually be used to render.
  *
  * Gets the aligned area used by @cell inside @cell_area. Used for finding
  * the appropriate edit and focus rectangle.
index 3ac622ccc47df584ee81fea8ef5096fb91dfca73..3c429155a09cf541f4523961be6ca678e4bb101e 100644 (file)
@@ -374,7 +374,7 @@ gtk_paint_spinner (GtkStyleContext *context,
     {
       gint inset = 0.7 * radius;
 
-      /* transparency is a function of time and intial value */
+      /* transparency is a function of time and initial value */
       gdouble t = (gdouble) ((i + num_steps - real_step)
                              % num_steps) / num_steps;
 
index 3a57b66d5a5fd99cc6ca1b7e21c44cca5756edbf..62e0dd67f93c546687df0897069d1b5c5a158de4 100644 (file)
@@ -1920,7 +1920,7 @@ gtk_cell_renderer_text_get_preferred_width (GtkCellRenderer *cell,
   pango_layout_get_extents (layout, NULL, &rect);
   text_width = rect.width;
 
-  /* Fetch the average size of a charachter */
+  /* Fetch the average size of a character */
   context = pango_layout_get_context (layout);
   metrics = pango_context_get_metrics (context,
                                        pango_context_get_font_description (context),
index 0704a8fdfa439684746ce8ebaf56e6a17a6fdc6a..dc762d48f14e1588448582044097d8312d45f23a 100644 (file)
@@ -322,7 +322,7 @@ gtk_check_button_get_indicator_node (GtkCheckButton *check_button)
  * @draw_indicator: Whether or not to draw the indicator part of the button
  *
  * Sets whether the indicator part of the button is drawn. This is important for
- * cases where the check button should have the functinality of a check button,
+ * cases where the check button should have the functionality of a check button,
  * but the visuals of a regular button, like in a #GtkStackSwitcher.
  */
 void
index f4cb6c59ee543997431e4b19448658be0216e11f..fe3bae9335cd909e930c4e61a8355d9d266ef627 100644 (file)
@@ -388,7 +388,7 @@ _gtk_css_image_get_concrete_size (GtkCssImage *image,
   image_aspect = _gtk_css_image_get_aspect_ratio (image);
 
   /* If the specified size has neither a definite width nor height,
-   * and has no additional contraints, the dimensions of the concrete
+   * and has no additional constraints, the dimensions of the concrete
    * object size are calculated as follows:
    */
   if (specified_width == 0.0 && specified_height == 0.0)
index c5d7562119f183e26aadcf35280ff85dffe8ce02..46b3974341142a6c99dead47bb049b9d4149c8a5 100644 (file)
@@ -97,7 +97,7 @@ may_be_stored_in_cache (GtkCssStyle *style)
   change = gtk_css_static_style_get_change (GTK_CSS_STATIC_STYLE (style));
 
   /* The cache is shared between all children of the parent, so if a
-   * style depends on a sibling it is not independant of the child.
+   * style depends on a sibling it is not independent of the child.
    */
   if (change & GTK_CSS_CHANGE_ANY_SIBLING)
     return FALSE;
index 473ba206f7121fc01db1fa8ce02e5ede9e18a1f0..0fe1bab13456203f9bfb00de80f7de8dfcde3256 100644 (file)
@@ -343,7 +343,7 @@ _gtk_css_style_property_get_id (GtkCssStyleProperty *property)
  * @property: the property
  *
  * Queries the initial value of the given @property. See the
- * [CSS Documentation](http://www.w3.org/TR/css3-cascade/#intial)
+ * [CSS Documentation](http://www.w3.org/TR/css3-cascade/#initial)
  * for an explanation of this concept.
  *
  * Returns: (transfer none): the initial value. The value will never change.
index ff36a044cf3546e2c6722074851629c583bbff49..ea6d48b0c2e859eacd5c1de7714b7300c795e19a 100644 (file)
@@ -31,7 +31,7 @@
  * text editing widgets, such as #GtkEntry and #GtkSpinButton. It contains functions
  * for generically manipulating an editable widget, a large number of action
  * signals used for key bindings, and several signals that an application can
- * connect to to modify the behavior of a widget.
+ * connect to modify the behavior of a widget.
  *
  * As an example of the latter usage, by connecting
  * the following handler to #GtkEditable::insert-text, an application
index dc56bed97def0e5baaaf766af48dd97b93037726..b761944d354c5d318584cc1e352d514b246608d8 100644 (file)
@@ -107,10 +107,10 @@ typedef enum
  *
  * Whenever a container has some form of natural row it may align
  * children in that row along a common typographical baseline. If
- * the amount of verical space in the row is taller than the total
+ * the amount of vertical space in the row is taller than the total
  * requested height of the baseline-aligned children then it can use a
  * #GtkBaselinePosition to select where to put the baseline inside the
- * extra availible space.
+ * extra available space.
  */
 typedef enum
 {
@@ -126,7 +126,7 @@ typedef enum
  *   left/right of cursor if we’re in the middle of a word.
  * @GTK_DELETE_WORDS: Delete words.
  * @GTK_DELETE_DISPLAY_LINES: Delete display-lines. Display-lines
- *   refers to the visible lines, with respect to to the current line
+ *   refers to the visible lines, with respect to the current line
  *   breaks. As opposed to paragraphs, which are defined by line
  *   breaks in the input.
  * @GTK_DELETE_DISPLAY_LINE_ENDS: Delete only the portion of the
index 58709d9e6721a7eeb016678fe6ccfcd1497c3f2f..985a18a1caca4840e62fc99d48665e1bf8076d5e 100644 (file)
@@ -839,7 +839,7 @@ gtk_file_chooser_set_choice (GtkFileChooser  *chooser,
  *
  * Gets the currently selected option in the 'choice' with the given ID.
  *
- * Returns: the ID of the currenly selected option
+ * Returns: the ID of the currently selected option
  */
 const char *
 gtk_file_chooser_get_choice (GtkFileChooser  *chooser,
index 0a9e348b7e1245ad00b6176faf0e6c5e7a7f5ec6..af9fce15d026fd8bb1f4e21e525e5741e8bdce3d 100644 (file)
  * The model implements the GtkTreeSortable interface.  To avoid re-sorting
  * every time a node gets added (which would lead to O(n^2) performance during
  * the initial population of the model), the model can freeze itself (with
- * freeze_updates()) during the intial population process.  When the model is
+ * freeze_updates()) during the initial population process.  When the model is
  * frozen, sorting will not happen.  The model will sort itself when the freeze
  * count goes back to zero, via corresponding calls to thaw_updates().
  */
@@ -220,7 +220,7 @@ static void remove_file (GtkFileSystemModel *model,
  * @user_data: the model
  * @user_data2: GUINT_TO_POINTER of array index of current entry
  *
- * All other fields are unused. Note that the array index does not corrspond
+ * All other fields are unused. Note that the array index does not correspond
  * 1:1 with the path index as entries might not be visible.
  */
 #define ITER_INDEX(iter) GPOINTER_TO_UINT((iter)->user_data2)
@@ -2129,7 +2129,7 @@ _gtk_file_system_model_clear_cache (GtkFileSystemModel *model,
  * @file: the file to add
  * @attributes: attributes to query before adding the file
  *
- * This is a conenience function that calls g_file_query_info_async() on 
+ * This is a convenience function that calls g_file_query_info_async() on 
  * the given file, and when successful, adds it to the model.
  * Upon failure, the @file is discarded.
  **/
index 35fddc0f56fb798634de22413be43e1e0fd8f5e3..497c3247ca4e61a72f4b5a661ecd0aa9f6db3521 100644 (file)
@@ -36,7 +36,7 @@
  * displaying the list of fonts. In GTK+, the main objects
  * that implement this interface are #GtkFontChooserWidget,
  * #GtkFontChooserDialog and #GtkFontButton. The GtkFontChooser interface
- * has been introducted in GTK+ 3.2.
+ * has been introduced in GTK+ 3.2.
  */
 
 enum
index c3aea05c8d1db86efb9291b6da6e6248a4c5f899..93aa5b4921e6b1795c16ee5a5345b6393e610293 100644 (file)
@@ -879,7 +879,7 @@ gtk_font_chooser_widget_init (GtkFontChooserWidget *fontchooser)
   gtk_adjustment_set_upper (gtk_range_get_adjustment (GTK_RANGE (fontchooser->size_slider)),
                            (gdouble)(G_MAXINT / PANGO_SCALE));
 
-  /* Setup treeview/model auxilary functions */
+  /* Setup treeview/model auxiliary functions */
   gtk_tree_model_filter_set_visible_func (GTK_TREE_MODEL_FILTER (fontchooser->filter_model),
                                           visible_func, (gpointer)fontchooser, NULL);
 
index 0cf6c15c3a0ae77b5f49b7d8307e3cf2a610595e..c29d2b7a8a6d70cee6ad0490130db7f3f7c78540 100644 (file)
@@ -555,11 +555,11 @@ gtk_icon_theme_ref_release (GtkIconThemeRef *ref)
 {
   GtkIconTheme *theme;
 
-  /* Get a pointer to the theme, becuse when we unlock it could become NULLed by dispose, this pointer still owns a ref */
+  /* Get a pointer to the theme, because when we unlock it could become NULLed by dispose, this pointer still owns a ref */
   theme = ref->theme;
   g_mutex_unlock (&ref->lock);
 
-  /* Then unref outside the lock, because otherwis if this is the last ref the dispose handler would deadlock trying to NULL ref->theme */
+  /* Then unref outside the lock, because otherwise if this is the last ref the dispose handler would deadlock trying to NULL ref->theme */
   if (theme)
     g_object_unref (theme);
 
@@ -3585,7 +3585,7 @@ gtk_icon_paintable_class_init (GtkIconPaintableClass *klass)
   g_object_class_install_property (gobject_class, PROP_ICON_NAME,
                                    g_param_spec_string ("icon-name",
                                                         P_("Icon name"),
-                                                        P_("The icon name choosen during lookup"),
+                                                        P_("The icon name chosen during lookup"),
                                                         NULL,
                                                         G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_BLURB | G_PARAM_STATIC_NICK));
   /**
index 4604a7651f34db733907ae50de41a0cd78011697..986608e71844c9bda180d631f2c678996e6e378d 100644 (file)
@@ -724,7 +724,7 @@ gtk_im_context_get_surrounding (GtkIMContext *context,
  *    a negative value means start before the cursor.
  * @n_chars: number of characters to delete.
  * 
- * Asks the widget that the input context is attached to to delete
+ * Asks the widget that the input context is attached to delete
  * characters around the cursor position by emitting the
  * GtkIMContext::delete_surrounding signal. Note that @offset and @n_chars
  * are in characters not in bytes which differs from the usage other
index 9a88b0feca050e40fd3c81c2b52ad9a05b6b6d2e..4ba242c6bf3350d948f12d8fe0063e2832c6a021 100644 (file)
@@ -45,8 +45,8 @@
  * XFree86 4.0 using a set of Perl scripts. Contact Owen Taylor <otaylor@redhat.com>
  * to obtain the relevant perl scripts.
  *
- * The following compose letter letter sequences confliced
- *   Dstroke/dstroke and ETH/eth; resolved to Dstroke (Croation, Vietnamese, Lappish), over
+ * The following compose letter letter sequences conflicted
+ *   Dstroke/dstroke and ETH/eth; resolved to Dstroke (Croatian, Vietnamese, Lappish), over
  *                                ETH (Icelandic, Faroese, old English, IPA)  [ D- -D d- -d ]
  *   Amacron/amacron and ordfeminine; resolved to ordfeminine                 [ _A A_ a_ _a ]
  *   Amacron/amacron and Atilde/atilde; resolved to atilde                    [ -A A- a- -a ]
index 11e64e95aec32a6a03dcd42973475c33331700af..b770e85e4f00c17644afa4732a817f777795fa5e 100644 (file)
@@ -2388,7 +2388,7 @@ gtk_list_box_compute_expand (GtkWidget *widget,
   *hexpand_p = hexpand;
   *vexpand_p = vexpand;
 
-  /* We don't expand vertically beyound the minimum size */
+  /* We don't expand vertically beyond the minimum size */
   if (*vexpand_p)
     *vexpand_p = FALSE;
 }
index e54e603bf4d109b75e1bc0ed4e9f720a21be803b..0088a5d8c1cb46029554a423575414121b17c5fb 100644 (file)
@@ -941,7 +941,7 @@ gtk_is_initialized (void)
  * GTK sets the default text direction according to the locale
  * during gtk_init(), and you should normally use
  * gtk_widget_get_direction() or gtk_widget_get_default_direction()
- * to obtain the current direcion.
+ * to obtain the current direction.
  *
  * This function is only needed rare cases when the locale is
  * changed after GTK has already been initialized. In this case,
index e7e37c8ac0d0b725806ae26c5f35bd6eda660b82..b77906fcc97a09b05881074672b06427b5e9cc1b 100644 (file)
@@ -622,7 +622,7 @@ gtk_map_list_model_set_model (GtkMapListModel *self,
  * gtk_map_list_model_get_model:
  * @self: a #GtkMapListModel
  *
- * Gets the model that is curently being mapped or %NULL if none.
+ * Gets the model that is currently being mapped or %NULL if none.
  *
  * Returns: (nullable) (transfer none): The model that gets mapped
  **/
index 6a4a5f07ac0dfe941e9538d0ae219e18b65b8ef3..4a94b233c812aa00e56c95e516cddd720e9cf157 100644 (file)
@@ -234,7 +234,7 @@ gtk_native_dialog_class_init (GtkNativeDialogClass *class)
   /**
    * GtkNativeDialog:visible:
    *
-   * Whether the window is currenlty visible.
+   * Whether the window is currently visible.
    */
   native_props[PROP_VISIBLE] =
     g_param_spec_boolean ("visible",
index 07c2b5c31df9104ac039953fe5ee211a79b615c0..bc01fdfafc01e1130fc39b1711878316f080bbe8 100644 (file)
@@ -4886,7 +4886,7 @@ gtk_places_sidebar_list_shortcuts (GtkPlacesSidebar *sidebar)
  *
  * This function queries the bookmarks added by the user to the places sidebar,
  * and returns one of them.  This function is used by #GtkFileChooser to implement
- * the “Alt-1”, “Alt-2”, etc. shortcuts, which activate the cooresponding bookmark.
+ * the “Alt-1”, “Alt-2”, etc. shortcuts, which activate the corresponding bookmark.
  *
  * Returns: (nullable) (transfer full): The bookmark specified by the index @n, or
  * %NULL if no such index exist.  Note that the indices start at 0, even though
index 6b9730f1a07a832f8f902ecf71e9ecd690dd022c..faa7a05c3ba643b9631f169ef6fad2c6e3b8ceed 100644 (file)
@@ -803,7 +803,7 @@ gtk_print_unix_dialog_init (GtkPrintUnixDialog *dialog)
                                           set_cell_sensitivity_func, NULL, NULL);
 
 
-  /* Paper size combo auxilary funcs */
+  /* Paper size combo auxiliary funcs */
   gtk_combo_box_set_row_separator_func (GTK_COMBO_BOX (dialog->paper_size_combo),
                                         paper_size_row_is_separator, NULL, NULL);
   gtk_cell_layout_set_cell_data_func (GTK_CELL_LAYOUT (dialog->paper_size_combo),
index dfe3cc1ab71cd2b35c236de8cab1eb09e4e1b6bb..fe1197cdb8deb584d6d09f97d19fd8e4d5f855b8 100644 (file)
@@ -330,7 +330,7 @@ _gtk_quartz_set_selection_data_for_pasteboard (NSPasteboard     *pasteboard,
 #ifdef QUARTZ_RELOCATION
 
 /* Bundle-based functions for various directories. These almost work
- * even when the application isn’t in a bundle, becuase mainBundle
+ * even when the application isn’t in a bundle, because mainBundle
  * paths point to the bin directory in that case. It’s a simple matter
  * to test for that and remove the last element.
  */
index f1b23d87eb44b36fede8133ba0e4ca6fe048d12b..ba7eb7338b5a93ca813464af2d78347a9e609cc3 100644 (file)
  *   a widget upon size-request reports the width and height that it finds
  *   to be best suited to display its contents, including children.
  *   the width and/or height reported from a widget upon size requisition
- *   may be overidden by the user by specifying a width and/or height
+ *   may be overridden by the user by specifying a width and/or height
  *   other than 0 through gtk_widget_set_size_request().
  *
  * a scrolled window needs (for implementing all three policy types) to
  * request its width and height based on two different rationales.
  * 1)   the user wants the scrolled window to just fit into the space
- *      that it gets allocated for a specifc dimension.
+ *      that it gets allocated for a specific dimension.
  * 1.1) this does not apply if the user specified a concrete value
  *      value for that specific dimension by either specifying usize for the
  *      scrolled window or for its child.
  * 2)   the user wants the scrolled window to take as much space up as
- *      is desired by the child for a specifc dimension (i.e. POLICY_NEVER).
+ *      is desired by the child for a specific dimension (i.e. POLICY_NEVER).
  *
  * also, kinda obvious:
- * 3)   a user would certainly not have choosen a scrolled window as a container
+ * 3)   a user would certainly not have chosen a scrolled window as a container
  *      for the child, if the resulting allocation takes up more space than the
  *      child would have allocated without the scrolled window.
  *
  * conclusions:
  * A) from 1) follows: the scrolled window shouldn’t request more space for a
- *    specifc dimension than is required at minimum.
- * B) from 1.1) follows: the requisition may be overidden by usize of the scrolled
+ *    specific dimension than is required at minimum.
+ * B) from 1.1) follows: the requisition may be overridden by usize of the scrolled
  *    window (done automatically) or by usize of the child (needs to be checked).
  * C) from 2) follows: for POLICY_NEVER, the scrolled window simply reports the
  *    child’s dimension.
@@ -1646,8 +1646,8 @@ gtk_scrolled_window_size_allocate (GtkWidget *widget,
                                                                  priv->vscrollbar);
 
           /* If, after the first iteration, the hscrollbar and the
-           * vscrollbar flip visiblity... or if one of the scrollbars flip
-           * on each itteration indefinitly/infinitely, then we just need both
+           * vscrollbar flip visibility... or if one of the scrollbars flip
+           * on each iteration indefinitely/infinitely, then we just need both
            * at this size.
            */
           if ((count &&
index b8ceb0d0c5eb609f5e8001ff729e08d5c5e15c02..d002252fffb04c93a20a0d0f52c4d67771670980 100644 (file)
@@ -412,7 +412,7 @@ gtk_slice_list_model_set_model (GtkSliceListModel *self,
  * gtk_slice_list_model_get_model:
  * @self: a #GtkSliceListModel
  *
- * Gets the model that is curently being used or %NULL if none.
+ * Gets the model that is currently being used or %NULL if none.
  *
  * Returns: (nullable) (transfer none): The model in use
  **/
index 20c186d82af8e4ef3a176665fa498e5beb9512f7..303059643e2cb2a013691ade3fdf30d2acdc51c6 100644 (file)
@@ -60,7 +60,7 @@
  * # GtkStack as GtkBuildable
  *
  * To set child-specific properties in a .ui file, create GtkStackPage
- * objects explictly, and set the child widget as a property on it:
+ * objects explicitly, and set the child widget as a property on it:
  * |[
  *   <object class="GtkStack" id="stack">
  *     <child>
index 7f4785252a65555b9868eb533c9cd1890a42c4db..d0c82ec72cb79b9249e0a9147fea31024c1f188a 100644 (file)
@@ -117,7 +117,7 @@ _gtk_style_property_init (GtkStyleProperty *property)
  * @parser: the parser to parse from
  *
  * Tries to parse the given @property from the given @parser into
- * @value. The type that @value will be assigned is dependant on
+ * @value. The type that @value will be assigned is dependent on
  * the parser and no assumptions must be made about it. If the
  * parsing fails, %FALSE will be returned and @value will be
  * left uninitialized.
index cb655e0d487a018c24a6d3ff713ad7b3a0215203..5e6ee4be75793222b59e2ed88adf6ea7d590d438 100644 (file)
@@ -3885,7 +3885,7 @@ gtk_text_delete_from_cursor (GtkText       *self,
         }
       else if (count > 0)
         {
-          /* Move to beginning of current word, or if not on a word, begining of next word */
+          /* Move to beginning of current word, or if not on a word, beginning of next word */
           start_pos = gtk_text_move_forward_word (self, start_pos, FALSE);
           start_pos = gtk_text_move_backward_word (self, start_pos, FALSE);
         }
@@ -4893,7 +4893,7 @@ gtk_text_adjust_scroll (GtkText *self)
       /* And make sure cursors are on screen. Note that the cursor is
        * actually drawn one pixel into the INNER_BORDER space on
        * the right, when the scroll is at the utmost right. This
-       * looks better to to me than confining the cursor inside the
+       * looks better to me than confining the cursor inside the
        * border entirely, though it means that the cursor gets one
        * pixel closer to the edge of the widget on the right than
        * on the left. This might need changing if one changed
index 2d9c72f6e358196aa60d5964656e86e2e25b5cea..d69e1b15467c94bdba0d59772a5eab3bcc343e47 100644 (file)
@@ -1109,7 +1109,7 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
    *
    * The default bindings for this signal come in two variants,
    * the variant with the Shift modifier extends the selection,
-   * the variant without the Shift modifer does not.
+   * the variant without the Shift modifier does not.
    * There are too many key combinations to list them all here.
    * - Arrow keys move by individual characters/lines
    * - Ctrl-arrow key combinations move by words/paragraphs
@@ -1220,7 +1220,7 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
    * The default bindings for this signal are
    * Delete for deleting a character, Ctrl-Delete for 
    * deleting a word and Ctrl-Backspace for deleting a word 
-   * backwords.
+   * backwards.
    */
   signals[DELETE_FROM_CURSOR] =
     g_signal_new (I_("delete-from-cursor"),
index fe9d3fcb983d4e12e455e66d29f798ba3e438fed..45f5b3f3630d7e3624fd45d0995e2c383410f493 100644 (file)
@@ -169,7 +169,7 @@ recompute_trash_state (GtkTrashMonitor *monitor)
   GFile *file;
 
   /* Rate limit the updates to not flood the gvfsd-trash when too many changes
-   * happended in a short time.
+   * happenned in a short time.
   */
   if (monitor->timeout_id > 0)
     {
index 3359cc29a3ac75c7bcc79c696748fc780d864a6c..597dc3a3d0eb9bdad0aff19754e79798c8bf8181 100644 (file)
@@ -7429,7 +7429,7 @@ gtk_tree_view_drag_data_received (GObject      *source,
       gtk_tree_path_get_indices (dest_row)[0] == 0 &&
       gtk_tree_model_iter_n_children (tree_view->model, NULL) != 0)
     {
-      /* special special case drag to "0", scroll to first item */
+      /* special case drag to "0", scroll to first item */
       if (!tree_view->scroll_to_path)
         gtk_tree_view_scroll_to_cell (tree_view, dest_row, NULL, FALSE, 0.0, 0.0);
     }
@@ -11328,7 +11328,7 @@ gtk_tree_view_expand_to_path (GtkTreeView *tree_view,
 }
 
 /* FIXME the bool return values for expand_row and collapse_row are
- * not analagous; they should be TRUE if the row had children and
+ * not analogous; they should be TRUE if the row had children and
  * was not already in the requested state.
  */
 
@@ -12271,7 +12271,7 @@ gtk_tree_view_get_row_y_offset (GtkTreeView   *tree_view,
  * gtk_tree_view_get_background_area:
  * @tree_view: a #GtkTreeView
  * @path: (allow-none): a #GtkTreePath for the row, or %NULL to get only horizontal coordinates
- * @column: (allow-none): a #GtkTreeViewColumn for the column, or %NULL to get only vertical coordiantes
+ * @column: (allow-none): a #GtkTreeViewColumn for the column, or %NULL to get only vertical coordinates
  * @rect: (out): rectangle to fill with cell background rect
  *
  * Fills the bounding rectangle in bin_window coordinates for the cell at the
@@ -14440,7 +14440,7 @@ gtk_tree_view_set_tooltip_cell (GtkTreeView       *tree_view,
        * we can correctly account for the indentation.  This also means
        * that the tooltip is constrained vertically by the "Determine y
        * values" code below; this is not a real problem since cells actually
-       * don't stretch vertically in constrast to columns.
+       * don't stretch vertically in contrast to columns.
        */
       gtk_tree_view_get_cell_area (tree_view, path, column, &tmp);
       gtk_tree_view_column_cell_get_position (column, cell, &start, &width);
index 2604748958a7c223b175c363e1b36c00cd46dd52..044d17b705b6fdffd7d42b95b7ad5a32f01d7133 100644 (file)
@@ -169,7 +169,7 @@ GDK_AVAILABLE_IN_ALL
 void                   gtk_tree_view_set_activate_on_single_click  (GtkTreeView               *tree_view,
                                                                    gboolean                   single);
 
-/* Column funtions */
+/* Column functions */
 GDK_AVAILABLE_IN_ALL
 gint                   gtk_tree_view_append_column                 (GtkTreeView               *tree_view,
                                                                    GtkTreeViewColumn         *column);
index a20619256045a3b4da8a1150e1fb6f3f4c4f0db5..2cd41084b17c121f147dececc0cd64a0e0b39ea8 100644 (file)
@@ -2710,8 +2710,8 @@ gtk_tree_view_column_get_sort_order      (GtkTreeViewColumn     *tree_column)
 /**
  * gtk_tree_view_column_cell_set_cell_data:
  * @tree_column: A #GtkTreeViewColumn.
- * @tree_model: The #GtkTreeModel to to get the cell renderers attributes from.
- * @iter: The #GtkTreeIter to to get the cell renderer’s attributes from.
+ * @tree_model: The #GtkTreeModel to get the cell renderers attributes from.
+ * @iter: The #GtkTreeIter to get the cell renderer’s attributes from.
  * @is_expander: %TRUE, if the row has children
  * @is_expanded: %TRUE, if the row has visible children
  * 
index 8edd13fcd176336d8a977a3f102113374e4118e3..cc8e3ef7fd31b8cbcdcd705f6342b921db6c227d 100644 (file)
@@ -59,7 +59,7 @@ typedef struct _GtkWindow              GtkWindow;
  *
  * The value used to refer to a guaranteed invalid position in a #GListModel. This
  * value may be returned from some functions, others may accept it as input.
- * Its interpretion may differ for different functions.
+ * Its interpretation may differ for different functions.
  *
  * Refer to each function's documentation for if this value is allowed and what it
  * does.
index 509bfe860c6a862d9e70606d00c12b371fcd741a..27bec07c231895070e052379d2cadaea053ddd2a 100644 (file)
@@ -4134,7 +4134,7 @@ gtk_widget_translate_coordinates (GtkWidget  *src_widget,
  *     @target's coordinate system
  *
  * Translates the given @point in @widget's coordinates to coordinates
- * relative to @target’s coodinate system. In order to perform this
+ * relative to @target’s coordinate system. In order to perform this
  * operation, both widgets must share a common root.
  *
  * Returns: %TRUE if the point could be determined, %FALSE on failure.
index 00c6c26910e79992876d3010e6392221aaca238b..4e687fa680df70de7f599ca40575d0744975bab9 100644 (file)
@@ -5708,7 +5708,7 @@ gtk_window_constrain_size (GtkWindow   *window,
 }
 
 /* For non-resizable windows, make sure the given width/height fits
- * in the geometry contrains and update the geometry hints to match
+ * in the geometry constrains and update the geometry hints to match
  * the given width/height if not.
  * This is to make sure that non-resizable windows get the default
  * width/height if set, but can still grow if their content requires.
index 938704e8ff1ec4041ee8973287c20c18334057c5..038726888ef93e2525e7855a80a01f95916a5282 100644 (file)
@@ -202,7 +202,7 @@ static const PaperInfo standard_names[] = {
 };
 
 /* Some page sizes have multiple PPD names in use.
- * The array above only contails the prefered one,
+ * The array above only contains the preferred one,
  * and this array fills out with the duplicates.
  */
 const struct {
index 9a30f569b3bfccd69e9ce38cb433a4d2bac4d636..58dd95bbbe7683c678e5fb3eb3bec158d231a824 100644 (file)
@@ -5800,7 +5800,7 @@ cups_printer_get_options (GtkPrinter           *printer,
 
 #ifdef HAVE_COLORD
   option = gtk_printer_option_new ("colord-profile",
-                                   /* TRANSLATORS: this this the ICC color profile to use for this job */
+                                   /* TRANSLATORS: this is the ICC color profile to use for this job */
                                    C_("printer option", "Printer Profile"),
                                    GTK_PRINTER_OPTION_TYPE_INFO);
 
index 8a677969c7126249323465303948c4544e432e30..96be865b86ab2d8efab0dfde889573e62a401bb2 100644 (file)
@@ -197,7 +197,7 @@ gtk_gears_class_init (GtkGearsClass *klass)
  * @param v the vertex to fill
  * @param x the x coordinate
  * @param y the y coordinate
- * @param z the z coortinate
+ * @param z the z coordinate
  * @param n pointer to the normal table
  *
  * @return the operation error code
index 3b035388baf0500b589a26df05a6d127c256b3b5..32289d989d6b12e5cf490eb4f260aa4b26ffed64 100644 (file)
@@ -4321,7 +4321,7 @@ paned_keyboard_window2 (GtkWidget *widget)
   GtkWidget *button10;
 
   window2 = gtk_window_new ();
-  gtk_window_set_title (GTK_WINDOW (window2), "\"button 10\" is not inside the horisontal pane");
+  gtk_window_set_title (GTK_WINDOW (window2), "\"button 10\" is not inside the horizontal pane");
 
   gtk_window_set_display (GTK_WINDOW (window2), 
                          gtk_widget_get_display (widget));
index 9a9ea5302ab0d1aa32764bba03eed04620d918a1..0d583fe30acadc86508b557a99d5fb346bc6f468 100644 (file)
@@ -168,7 +168,7 @@ gtk_focus_widget_snapshot (GtkWidget *widget, GtkSnapshot *snapshot)
       gtk_widget_get_allocation (widget, &alloc);
 
       /* Since event coordinates and drawing is supposed to happen in the
-       * same coodinates space, this should all work out just fine. */
+       * same coordinates space, this should all work out just fine. */
       bounds.origin.x = self->mouse_x;
       bounds.origin.y = -30;
       bounds.size.width = 1;
index 9a8d0609e176270b7eb8651b2990842056e1a758..9fe3dab21b782172584fe2c69da9a9b8d52481d8 100644 (file)
@@ -455,7 +455,7 @@ main (int argc, char **argv)
   gint result;
   const char *display, *x_r_d;
 
-  /* These must be set before before gtk_test_init */
+  /* These must be set before gtk_test_init */
   g_setenv ("GIO_USE_VFS", "local", TRUE);
   g_setenv ("GSETTINGS_BACKEND", "memory", TRUE);
   g_setenv ("G_ENABLE_DIAGNOSTIC", "0", TRUE);
index c3655185ff00a0db3cc8e67d37483d921cffc6d9..b926c3193bdc936d284e8b9195bad8407c1beae7 100644 (file)
@@ -534,7 +534,7 @@ test_homogeneous (void)
  * +-----------------+
  *
  * This is a layout that we also reproduce with
- * constraints, for comparison. Among the contraints:
+ * constraints, for comparison. Among the constraints:
  * - child1.width == child2.width
  * - child1.height == child2.height == child3.height
  */
index 3487d3ed8bda3e8136cba5878cb1805c12ad7770..8b2bc5055f04d530ad5544ee694dfaad1a282cb0 100644 (file)
@@ -12,7 +12,7 @@ test_init (void)
 int
 main (int argc, char *argv[])
 {
-  /* Don't use gtk_test_init here because it implicitely initializes GTK+. */
+  /* Don't use gtk_test_init here because it implicitly initializes GTK+. */
   g_test_init (&argc, &argv, NULL);
   gtk_disable_setlocale();
   setlocale (LC_ALL, "C");
index 5e13c1ad393555984d0bdba1ecfd10edd71bd8ed..d3ff56c3e95b308de769cb1bd14e51b1b747212d 100644 (file)
@@ -130,7 +130,7 @@ main (int argc, char **argv)
   gint result;
   const char *display, *x_r_d;
 
-  /* These must be set before before gtk_test_init */
+  /* These must be set before gtk_test_init */
   g_setenv ("GIO_USE_VFS", "local", TRUE);
   g_setenv ("GSETTINGS_BACKEND", "memory", TRUE);
 
index 5e2e6578522b12a115eb33e4c86d6d6558b32e69..36532238789334cb04a976bf461aaf5ed56c27b6 100644 (file)
@@ -435,7 +435,7 @@ test_print_unix_dialog_show (void)
 int
 main (int argc, char **argv)
 {
-  /* These must be set before before gtk_test_init */
+  /* These must be set before gtk_test_init */
   g_setenv ("GIO_USE_VFS", "local", TRUE);
   g_setenv ("GSETTINGS_BACKEND", "memory", TRUE);